package xrz.cuanbao.alipay;

import java.text.SimpleDateFormat;
import java.util.Date;

import android.util.Log;

public class DingDanHaoUtil {

	
	public static String getDingDanHao(){
		SimpleDateFormat format = new SimpleDateFormat("MMddHHmmss");
		Date date = new Date();
		String key = format.format(date);

		java.util.Random r = new java.util.Random();
		key += r.nextInt();
		key = key.substring(0, 15);
		Log.e("DingDanHaoUtil", "outTradeNo: " + key);
		return key;
	}
}
